.headerTop {
  background: #f2f2f2;
  font-size: 12px;
  height: 30px;
}

.content {
  width: 1000px;
  margin: 0 auto;
}

.headerTop {
  line-height: 30px;
  text-align: center;
  .topLeft {
    float: left;
    li {
      padding: 0 10px;
      height: 30px;
      float: left;
      color: #000;
    }
    li a:hover {
      color: #ff0000;
    }
    li:nth-of-type(2) {
      padding-left: 0;
      a {
        color: #ff0000;
        padding-left: 0;
      }
    }
    li:nth-of-type(1) {
      padding: 0;
      img {
        margin-top: 3px;
      }
    }
  }
  .topRight {
    float: right;
    margin-right: 80px;
    li {
      padding-left: 20px;
      height: 30px;
      float: left;
    }
    li:nth-of-type(3) {
      position: relative;
      .code {
        position: absolute;
        left: -10px;
        display: none;
        width: 100px;
        border: 2px solid #f2f2f2;
        img {
          width: 100%;
        }
        p {
          line-height: 25px;
          text-align: center;
          background: #fff;
        }
      }
      a:hover {
        color: #ff0000;
      }
      a:hover + .code {
        display: block;
      }
    }
    li:nth-of-type(5) {
      width: 30px;
      height: 30px;
      a {
        overflow: hidden;
        display: block;
        width: 100%;
        height: 100%;
        text-indent: -200%;
        background: url("../../img/base_z.png") no-repeat -600px -323px;
      }
    }
  }
  a {
    color: #000;
  }
}

/* logo部分样式 */
#logo {
  height: 90px;
  .content {
    height: 100%;
    div {
      height: 100%;
    }
    a {
      display: block;
      height: 100%;
      width: 205px;
      float: left;
    }
    .logo_main {
      width: 205px;
      background: url("../../img/base_z.png") no-repeat -853px -295px;
      text-indent: -100%;
    }
    .logo_small {
      width: 151px;
      background: url("../../img/base_z.png") no-repeat -889px -74px;
    }
  }
}

/*导航条样式*/
#nav {
  height: 42px;
  background: #000;
  line-height: 42px;
  z-index: 20;
  .nav_left {
    height: 42px;
    float: left;
    li {
      position: relative;
      margin-right: 50px;
      line-height: 42px;
      float: left;
      .pop_up {
        position: absolute;
        display: none;
        left: 0;
        width: 630px;
        box-shadow: 0px 2px 10px #ccc;
        z-index: 8;
        background: white;
        .submenu {
          float: left;
          width: 274px;
          padding: 0 20px 0 20px;
          .title {
            width: 100%;
            height: 44px;
            line-height: 44px;
            font-size: 14px;
            font-weight: bold;
            border-bottom: 1px solid #e7e7e7;
            text-align: left;
          }
          ul {
            margin-bottom: 20px;
            li {
              height: auto;
              margin-top: 10px;
              line-height: 15px;
              float: none;
              a {
                color: #666;
                font-size: 12px;
              }
              a:hover {
                color: red;
              }
            }
          }
          .more {
            width: 300px;
            height: auto;
            position: absolute;
            left: 0;
            bottom: -2px;
            text-align: right;
            a {
              color: #000;
              font-size: 12px;
            }
          }
        }
        .submenu:nth-of-type(1) {
          border-right: 1px solid #e7e7e7;
        }
      }
    }
    li:hover a {
      color: red;
    }
    a {
      color: white;
      display: block;
      height: 100%;
    }
  }
  .nav_right {
    float: right;
    margin-right: 15px;
    li {
      margin-left: 15px;
      float: left;
      color: white;
    }
    li:nth-child(1) {
      text-align: center;
      width: 23px;
      background: url("../../img/base_z.png") no-repeat -1017px -219px;
      font-size: 12px;
      color: #a8a8a8;
      position: relative;
      //overflow: hidden;
      .hid_goods{
        position: absolute;
        width: 300px;
        height:0;
        background:white;
        z-index:10;
        left:-150px;
        box-shadow: 0 0 10px #000;
        transition: all 0.5s;
        overflow: hidden;
        .goods_list{
          dl{
            border-bottom: 1px solid #ccc;
            margin:0 10px;
          }
          dl dt{
            width: 80px;
            float: left;
            height:100px;
            img{
              width: 50px;
              height: 70px;
              margin:15px;
              border: 1px solid #ccc;
            }
          }
          dl dd{
            width: 150px;
            float: left;
            height:100px;
            text-align: left;
            color:black;
            p{
              height:50px;
            }
            span{
              display: block;
              line-height:20px;
            }
            .remove{
              float:right;
            }
          }
        }
      }
    }
  }
}

#main{
  .topTitle{
    border-bottom:1px solid #ccc;
    margin-top:20px;
    line-height:50px;
    h3{
      float:left;
      font-size:25px;
    }
    p{
      float:right;
    }
  }
  .tab{
    margin-top:10px;
    li{
      height:48px;
      width:164px;
      float: left;
      color: #000;
      font-weight: bold;
      line-height: 47px;
      font-size: 18px;
      text-align: center;
    }
    li:nth-of-type(1){
      background: #eee;
    }
  }
  .tabMain{
    .thead{
      ul{
        background: #eee;
        li{
          text-align: center;
          float: left;
          font-size:16px;
          line-height:58px;
          width: 100px;
        }
        li:nth-of-type(1){
          width: 200px;
        }
        li:nth-of-type(2){
          width: 300px;
          text-align: left;
        }
      }
    }
    h4{
      line-height: 60px;
      font-weight:900;
      font-size:18px;
      border-bottom: 1px solid #ccc;
      margin-top:10px;
    }
    .small{
      line-height:40px;
      margin-left:50px;
      padding-left:10px;
      background: #eee;
      margin-top:10px;
      span:nth-of-type(1){
        padding:0 5px;
        color:white;
        background: #dd2828;
      }
      span:nth-of-type(2){
        color:red;
        margin:0 10px;
      }
      a{
        color:black;
        text-decoration: underline;
      }
      a:hover{
        color:red;
      }
    }
    .goodMsg{
      padding:15px 0;
      height:110px;
      border-bottom: 1px solid #ccc;
      input{
        vertical-align: middle;
        margin-right: 30px;
      }
      img{
        height: 100px;
        vertical-align: middle;
      }
      li{
        text-align: center;
        float: left;
        font-size:16px;
        padding-top:40px;
        width: 100px;
        line-height:30px;
      }
      li:nth-of-type(1){
        padding-top:0;
        width: 200px;
        img{
          display:inline-block;
        }
      }
      li:nth-of-type(2){
        width: 300px;
        text-align: left;
      }
      .count{
        line-height:30px;
        a{
          display:inline-block;
          width: 30px;
          height: 30px;
          border:1px solid #ccc;
          cursor: pointer;
          background: #eee;
        }
        span{
          display:inline-block;
          width: 30px;
        }
      }
      .remove{
        padding:5px 20px;
        border:1px solid #ccc;
        cursor: pointer;
      }
    }
  }
  #total{
    height:58px;
    margin:50px 0;
    line-height:58px;
    background: #eee;
    padding-left:20px;
    display:none;
    .total_left{
      float:left;
      span:nth-of-type(1){
        font-size:18px;
        margin-right:20px;
      }
      span:nth-of-type(2){
        margin-right:20px;
        i{
          color:#dd2828;
          font-size: 18px;
          font-weight:900;
          margin:0 5px;
        }
      }
      a{
        padding:5px 25px;
        color:black;
        border:1px solid #ccc;
      }
    }
    .total_right{
      float: right;
      span:nth-of-type(2){
        color:#dd2828;
        font-size:18px;
        font-weight:900;
        margin:0 5px;
        i{
          font-size:20px;
          font-weight:900;
        }
      }
      a{
        display: inline-block;
        height: 58px;
        width: 140px;
        font-size: 20px;
        background: #ccc;
        text-align: center;
        color:white;
      }
    }
  }

}

#footer {
  background: #f2f2f2;
  .content {
    padding-top: 30px;
    .footer_top {
      margin-bottom: 20px;
      ul {
        li {
          width: 166px;
          height: 60px;
          float: left;
          a {
            display: block;
            width: 165px;
            height: 100%;
            text-align: center;
            color: #000;
            font-size: 12px;
            line-height: 95px;
            background: url("../../img/base_z.png") no-repeat;
            border-right: 1px solid black;
          }
          .last {
            border-right: 0;
          }
          .a1 {
            background-position: -153px -146px;
          }
          .a1:hover {
            background-position: -153px -264px;
          }
          .a2 {
            background-position: -543px -104px;
          }
          .a2:hover {
            background-position: -543px 7px;
          }
          .a3 {
            background-position: -150px -382px;
          }
          .a3:hover {
            background-position: -301px -229px;
          }
          .a4 {
            background-position: -419px 5px;
          }
          .a4:hover {
            background-position: -419px -107px;
          }
          .a5 {
            background-position: -301px -346px;
          }
          .a5:hover {
            background-position: -301px -459px;
          }
          .a6 {
            background-position: -301px -112px;
          }
          .a6:hover {
            background-position: -301px 5px;
          }
        }
      }
    }
    p {
      margin-bottom: 10px;
      text-align: center;
      font-size: 12px;
      a {
        margin: 0 12px;
        color: black;
      }
      span {
        text-align: center;
        margin-right: 20px;
        line-height: 20px;
        img {
          margin-left: 48%;
        }
      }
    }
  }

}